# -*- coding: utf-8 -*-
# @Author : Yuan
from rest_framework.viewsets import ModelViewSet
from apps.goods.models import SPUSpecification
from apps.meiduo_admin.serializers.specification import SPUSpecificationModelSerializer
from apps.meiduo_admin.utils import PageNum


class SPUSpecificationModelViewSet(ModelViewSet):
    queryset = SPUSpecification.objects.all()
    serializer_class = SPUSpecificationModelSerializer
    pagination_class = PageNum



